dm: core: implement dev_map_physmem()
authorVignesh R <[email protected]>
Wed, 6 Jul 2016 04:28:55 +0000 (09:58 +0530)
committerJagan Teki <[email protected]>
Sat, 9 Jul 2016 14:46:08 +0000 (20:16 +0530)
commit7c616862553e37c89ea5db399961018a7367ca33
tree9a1a71c35a2e8abc20d882fd0b6358140f32bb2a
parentc8864d720926c6b136aa9aa97fd1d4410250d271
dm: core: implement dev_map_physmem()

This API helps to map physical register addresss pace of device to
virtual address space easily. Its just a wrapper around map_physmem()
with MAP_NOCACHE flag.

Signed-off-by: Vignesh R <[email protected]>
Suggested-by: Simon Glass <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/core/device.c
include/dm/device.h